﻿@model IEnumerable<IankerProj.Models.Sanpham_thietbi>

@{
    ViewBag.Title = "Pin";
    Layout = "~/Views/Shared/TrangChu.cshtml";
}

<div class="wrap">
    <div class="block">
        <div class="position">Your Position: <a rel="nofollow" href="/">Trang chủ</a> <code>&gt;</code> <h1>Sản phẩm>@ViewBag.ten</h1></div>
        <div class="cut_line"><span class="left_line"></span><span class="right_line"></span></div><div class="sidebar">
            <div class="sidebox">
                <p class="sidebar_title">Hot Sellers</p>
                <div class="line"><span class="left_line"></span><span class="right_line"></span></div>
                <ul class="hot_list">
                    @Html.Action("Hotsale", "Sanpham")
                </ul>
            </div>
        </div>

        <script type="text/javascript">
            $(function () {
                $(".product_slider_color_ico").hover(function () {
                    var image = $(this).attr("imgpath");
                    var href = $(this).attr("href");
                    $(this).closest(".product_slider_item").find(".product_slider_item_pic a img").attr("src", image);
                    $(this).closest(".product_slider_item").find(".product_slider_item_pic a").attr("href", href);
                    $(this).closest(".product_slider_item").find(".product_slider_item_txt a").attr("href", href);
                }, function () {
                    return false;
                });
            });
        </script>
        <div class="mainbar clearfix">
            <div class="cat_banner_ad">
                <div id="slider" class="slider">
                    <ul>
                        <li><a onclick="_gaq.push(['_trackEvent', 'click', 'cat banner click', 'External Batteries']);" href="javascript:void(0)"><img src="/data/afficheimg/1374542811532256546.jpg" border="0" alt="External Batteries" /></a></li>

                        <li><a onclick="_gaq.push(['_trackEvent', 'click', 'cat banner click', 'external battery-2']);" href="javascript:void(0)"><img src="/data/afficheimg/1407353934889529963.jpg" border="0" alt="external battery-2" /></a></li>
                    </ul>
                </div>
            </div>
            <div class="product_nav">
                <ul>
                    <li><a href="#2nd Gen Astro">NĂNG LƯỢNG</a></li>
                    <li><a href="#2nd Gen Astro">Pin đa năng</a></li>
                    <li><a href="#Astro E">Bộ sạc</a></li>
                    <li><a href="#Astro Slim">Pin điện thoại</a></li>
                    <li><a href="#Astro Mini">Pin laptop</a></li>
                </ul>
                <ul>
                    <li><a href="#2nd Gen Astro">KẾT NỐI</a></li>
                    <li><a href="#2nd Gen Astro">USB 3.0 hubs</a></li>
                    <li><a href="#Astro E">Đầu đọc thẻ USB 3.0</a></li>
                    <li><a href="#Astro Slim">USB 3.0 sata</a></li>
                    <li><a href="#Astro Mini">USB 3.0 PCI-E</a></li>
                    <li><a href="#Astro Mini">Phụ kiện USB</a></li>
                </ul>
                <ul>
                    <li><a href="#2nd Gen Astro">GIAO DIỆN</a></li>
                    <li><a href="#2nd Gen Astro">Bàn phím</a></li>
                    <li><a href="#Astro E">Chuột</a></li>
                    <li><a href="#Astro Slim">Gói bàn phím chuột</a></li>
                    <li><a href="#Astro Mini">Thiết bluetooth</a></li>
                </ul>
                <ul>
                    <li><a href="#2nd Gen Astro">BẢO VỆ</a></li>
                    <li><a href="#2nd Gen Astro">Thùng CPU</a></li>
                    <li><a href="#Astro E">Bảo vệ màn hình</a></li>
                    <li><a href="#Astro Slim">Stands</a></li>
                </ul>
            </div>
            <h2 class="main_sub_title">@ViewBag.ten</h2>
            <ul class="product_slider pslider_list">
                @foreach (var c in Model)
                {
                    @Html.Action("Chitiet", "Thietbi", new { id = c.idthietbi })

                }
                </ul>

</div>

    </div>
</div>
